import com.google.inject.AbstractModule
import service.MyCache
import tool.Resource

/**
 * Created by yz on 10/6/2020
 */
class Module extends AbstractModule {

  override def configure(): Unit = {
    bind(classOf[Resource]).asEagerSingleton()
    bind(classOf[MyCache]).asEagerSingleton()
  }


}
